package com.alili_tv.system.mapper;

import com.alili_tv.system.entity.VideoFavoriteFolder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface VideoFavoriteFolderMapper extends BaseMapper<VideoFavoriteFolder> {
    /**
     * 显示视频在用户收藏夹下的收藏情况
     * @param userId
     * @param videoId
     * @return
     */
    List<VideoFavoriteFolder> getFavorInfo(long userId, long videoId);
}
